package com.service;

import com.commonutils.results;
import com.entity.pojo.Categories;
import com.baomidou.mybatisplus.extension.service.IService;
import com.entity.vo.CourseOverviewVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenmo
 * @since 2022-04-02
 */
public interface CategoriesService extends IService<Categories> {

    results updateCategoryPosition(Integer newIndex, Categories currRow);

    List<CourseOverviewVo> getCourseOverview(long current, long limit, CourseOverviewVo courseOverviewQuery);

}
